﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h2>ListaMejoradaAjax</h2>

    <% Html.RenderPartial("ListaAjax", Model); %>
   
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContentPlaceHolder" runat="server">
    <link href="<%= ResolveUrl("~") %>Content/tables.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= ResolveUrl("~") %>Scripts/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~") %>Scripts/jquery.blockUI.js"></script>

    <script language="javascript" type="text/javascript">
        function AjaxStart() {
            $.blockUI({ message: '<h3><img src="<%=Url.Content("~/Content/Images/loading.gif") %>" width="16" height="16"/>Recuperando datos, por favor espere...</h3>' });
        }

        function AjaxStop() { $.unblockUI(); }
        
    </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MenuContentPlaceHolder" runat="server">
</asp:Content>
